package com.neolix.watch.util;

import android.graphics.Typeface;
import android.widget.TextView;

import static com.neolix.watch.NeolixApplication.getInstance;

public class FontTypefaceUtil {
    public static void setTypefaceOfZagRegular(TextView textView) {
        Typeface face = Typeface.createFromAsset(getInstance().getAssets(), "fonts/Zag Regular.otf");
        textView.setTypeface(face);
    }

    public static void setTypefaceOfHelvetica(TextView textView) {
        Typeface face = Typeface.createFromAsset(getInstance().getAssets(), "fonts/HelveticaNeueLTPro-UltLt.otf");
        textView.setTypeface(face);
    }

    public static Typeface getTypefaceOfHelvetica() {
        return Typeface.createFromAsset(getInstance().getAssets(), "fonts/HelveticaNeueLTPro-UltLt.otf");
    }
}
